package com.ruoyi.generator.domain;


import javax.validation.constraints.NotBlank;
import java.util.List;
import java.util.Map;

/**
 * 业务表生成信息，用于返回前端使用
 */
public class GenTableConfig {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long tableId;

    /**
     * 表名称
     */
    private String tableName;

    /**
     * 组件描述
     */
    private String componentDesc;

    /**
     * 表单设计Key
     */
    private String formBuildKey;

    /**
     * 权限字符串
     */
    private String perms;

    /**
     * API前缀
     */
    private String prefixUrl;

    /**
     * 生成代码方式（0zip压缩包 1自定义路径 2优树搭）
     */
    private String genType;

    /**
     * 优树搭获取列表数据API编码
     */
    private String ysdListApi;

    /**
     * 通过优树搭获取数据详情的API编码
     */
    private String ysdDetailApi;

    /**
     * 通过优树搭新增数据的API编码
     */
    private String ysdAddApi;

    /**
     * 通过优树搭修改数据的API编码
     */
    private String ysdUpdateApi;

    /**
     * 通过优树搭删除数据的API编码
     */
    private String ysdDeleteApi;

    /**
     * 通过优树搭导入数据的API编码
     */
    private String ysdImportApi;

    /**
     * 通过优树搭导出数据的API编码
     */
    private String ysdExportApi;

    /**
     * 新增与编辑表单窗口宽度
     */
    private int formWidth;

    /**
     * 新增与编辑表单窗口高度
     */
    private int formHeight;

    /**
     * 生成作者
     */
    private String functionAuthor;

    /**
     * 备注
     */
    private String remark;

    /**
     * 业务表对应字段信息
     */
    private List<GenTableColumn> fieldInfos;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getFormWidth() {
        return formWidth;
    }

    public void setFormWidth(int formWidth) {
        this.formWidth = formWidth;
    }

    public int getFormHeight() {
        return formHeight;
    }

    public void setFormHeight(int formHeight) {
        this.formHeight = formHeight;
    }

    public String getFunctionAuthor() {
        return functionAuthor;
    }

    public void setFunctionAuthor(String functionAuthor) {
        this.functionAuthor = functionAuthor;
    }

    public Long getTableId() {
        return tableId;
    }

    public void setTableId(Long tableId) {
        this.tableId = tableId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getComponentDesc() {
        return componentDesc;
    }

    public void setComponentDesc(String componentDesc) {
        this.componentDesc = componentDesc;
    }

    public String getFormBuildKey() {
        return formBuildKey;
    }

    public void setFormBuildKey(String formBuildKey) {
        this.formBuildKey = formBuildKey;
    }

    public String getPrefixUrl() {
        return prefixUrl;
    }

    public void setPrefixUrl(String prefixUrl) {
        this.prefixUrl = prefixUrl;
    }

    public String getGenType() {
        return genType;
    }

    public void setGenType(String genType) {
        this.genType = genType;
    }

    public List<GenTableColumn> getFieldInfos() {
        return fieldInfos;
    }

    public void setFieldInfos(List<GenTableColumn> fieldInfos) {
        this.fieldInfos = fieldInfos;
    }

    public String getYsdListApi() {
        return ysdListApi;
    }

    public void setYsdListApi(String ysdListApi) {
        this.ysdListApi = ysdListApi;
    }

    public String getYsdDetailApi() {
        return ysdDetailApi;
    }

    public void setYsdDetailApi(String ysdDetailApi) {
        this.ysdDetailApi = ysdDetailApi;
    }

    public String getYsdAddApi() {
        return ysdAddApi;
    }

    public void setYsdAddApi(String ysdAddApi) {
        this.ysdAddApi = ysdAddApi;
    }

    public String getYsdUpdateApi() {
        return ysdUpdateApi;
    }

    public void setYsdUpdateApi(String ysdUpdateApi) {
        this.ysdUpdateApi = ysdUpdateApi;
    }

    public String getYsdDeleteApi() {
        return ysdDeleteApi;
    }

    public void setYsdDeleteApi(String ysdDeleteApi) {
        this.ysdDeleteApi = ysdDeleteApi;
    }

    public String getYsdImportApi() {
        return ysdImportApi;
    }

    public void setYsdImportApi(String ysdImportApi) {
        this.ysdImportApi = ysdImportApi;
    }

    public String getYsdExportApi() {
        return ysdExportApi;
    }

    public void setYsdExportApi(String ysdExportApi) {
        this.ysdExportApi = ysdExportApi;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }
}
